package com.springboot.repository;

import com.springboot.domain.BtDemandSub;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

@Repository

public interface DemandSubRepository extends JpaRepository<BtDemandSub,String> {

    Page<BtDemandSub> findByBankId (String bankId, Pageable pageable);

    Page<BtDemandSub> findByPlatShown (Integer platShown, Pageable pageable);

}
